import request from '@/utils/request'

export function groupList() {
  return request({
    url: '/system/census/groupList',
    method: 'get',
  })
}

// 查询域名地址列表
export function getRealmList() {
  return request({
    url: '/system/census/getRealmList',
    method: 'get'
  })
}
// 个人投手下的工单列表（超管看全部）
export function workList(query) {
  return request({
    url: '/system/census/works',
    method: 'get',
    params: query
  })
}

export function accessOfDay(id) {
  return request({
    url: '/system/census/accessOfDay/'+id,
    method: 'post',
  })
}

export function accessOfMonth(id) {
  return request({
    url: '/system/census/accessOfMonth/'+id,
    method: 'post',
  })
}

export function LeachList(query) {
  return request({
    url: '/link/leach',
    method: 'get',
    params: query
  })
}